package com.steven.design.XingWei_Pattern.FangWenZhe;

/**
 * 顾客类：
 * 顾客如果想要访问餐厅选择自己喜欢的食物，只需要实现 IVisitor 接口即可。
 */
public class Customer implements IVisitor{

    @Override
    public void chooseLobster(String lobster) {
        System.out.println("Aurora gets a " + lobster);
    }

    @Override
    public void chooseWatermelon(String watermelon) {
        System.out.println("Aurora gets a " + watermelon);
    }

    @Override
    public void chooseSteak(String steak) {
        System.out.println("Aurora doesn't like " + steak);
    }

    @Override
    public void chooseBanana(String banana) {
        System.out.println("Aurora doesn't like " + banana);
    }
}
